package day0728;

public class Test6 {
    public static void main(String[] args) {


        /*for (int i = 1; i<=100; i++) {
            System.out.println(i);
            if(i>=50){//1...48....49...50
                break;
            }
        }*/

    /*for(int i=1; i<=4 ;i++) {
        for (int j = 1; j <= 5; j++) {
            System.out.print("*");
        }
        System.out.println();
        if(i==3) break;
        //* * * * *
        //* * * * *
        //* * * * *
        //* * * * *
    }*/




        /*B:for(int i=1;  i<=4;  i++) {
                for (int j = 1; j <= 5; j++) {
                    if(i==4){break B;}
                    System.out.print("*");
                }
                System.out.println();
        }*/
        //在   打印 3行6列"*"代码基础上，添加只打印前两行"*"
        //实现方式   if(i==数字){break B;}
        X:for(int i=1;   i<=3;  i++) {
            for (int j = 1; j <= 6; j++) {
                if(i==3){break X;}
                System.out.print("*");
            }
            System.out.println();
        }
















    }
}
